package cn.south.campus.business.model.enums;

import cn.south.campus.common.model.enums.ResponseCode;

/**
 * <p>
 *
 * </p>
 *
 * @author chow
 * @since 2024/11/13 14:16
 */
public enum CampusErrorEnums implements ResponseCode {

    AUTH_INFO_ALREADY_EXIST("4000", "认证信息已存在", "认证信息已存在"),
    MONEY_IS_ILLEGAL("4001", "提现金额不合法", "提现/充值金额必须大于0"),
    WALLET_BALANCE_NOT_ENOUGH("4002", "钱包余额不足", "钱包余额不足"),
    STOCK_NOT_ENOUGH("4003", "已售罄", "已售罄"),
    ORDER_STATUS_ERROR("4004", "订单状态异常", "订单状态异常"),
    STUDENT_AUTH_ERROR("4005", "未认证", "请先认证为学生"),
    COMPLAINT_NOT_AGREE_SELF("4006", "不能给自己点赞", "您无时无刻都在给自己点赞"),
    COMPLAINT_NOT_REJECT_SELF("4007", "不能自己点踩", "要相信自己啊"),
    EXPRESS_TAKE_SEX_LIMIT("4008", "快递代取性别不符", "请注意代取性别限制！"),
    EXPRESS_TAKE_HAVE_APPLY_ERROR("4009", "快递代取已被接单", "当前代取单已被接单"),
    EXPRESS_APPLY_NOT_EXIST("4010", "快递代取申请不存在", "快递代取申请不存在"),
    EXPRESS_TAKE_STATUS_ERROR("4011", "快递代取状态异常", "快递代取状态异常"),
    PART_TIME_JOB_STATUS_ERROR("4012", "兼职状态异常", "兼职状态异常"),
    ORDER_PAYED_ERROR("4013", "该订单已支付", "该订单已支付")
    ;


    private final String code;
    private final String desc;
    private final String tips;

    CampusErrorEnums(String code, String desc, String tips) {
        this.code = code;
        this.desc = desc;
        this.tips = tips;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    @Override
    public String getTips() {
        return tips;
    }
}
